package com.motong.gongdan.vo.resp;

import com.motong.gongdan.vo.system.otherVo.CustomFieldVo;
import com.motong.gongdan.vo.system.processSop.CollectionDataVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author:fff
 * @time:2022/3/3
 */
@Data
public class MissionListResp {
    private Integer id;
    private String workOrderCode;
    private String productCode;
    private String productName;
    private String productSpecification;
    private String processCode;
    private String processName;
    private String permissionsDep;
    private String processPermissions;
    private String permissionsName;
    private String distributionList;
    private Integer processRate;
    private BigDecimal planedNumber;
    private BigDecimal goodProductNumber;
    private BigDecimal badProductNumber;
    private Integer processState;
    private Date startTime;
    private Date endTime;
    private Date actualStartTime;
    private Date actualEndTime;
    private String distributionName;
    private BigDecimal rate;
    private Integer workOrderId;


    @ApiModelProperty("计价方式(0 计件, 1 计时)")
    private Integer pricingMethod;

    private Integer isDelay;
    private boolean distributionFlag;
    private String processCollectionData;
    private String processOther;
    @ApiModelProperty("是否分配")
    private boolean distribute = false;

    private List<CustomFieldVo> customFieldVos;

    @ApiModelProperty("工单自定义字段")
    private List<CustomFieldVo> workOrderCustomFieldVos;

    private List<CollectionDataVo> processCollectionDataList;

    @ApiModelProperty("产品单位")
    private String productUnit;

    private Integer isUrgent;
}
